package com.basin.common.mybatisplus.annotations;

import java.lang.annotation.*;

/**
 * @author: Sam ZHONG | sammy1997@aliyun.com
 * @date: 2025/5/12 21:30
 * @description:
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Search {
    SearchType value() default SearchType.LIKE;

    String column() default "";

    enum SearchType {
        EQ,
        LIKE,
        IN,
        BETWEEN,
    }
}
